﻿<Window x:Class="TestRibbonControl.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:ribbon="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Initialized="Window_Initialized">
    <Grid>
        <ribbon:Ribbon x:Name="ribbon" SelectionChanged="ribbon_SelectionChanged">
            <ribbon:Ribbon.HelpPaneContentTemplate>
                <DataTemplate>
                    <ribbon:RibbonButton DataContext="{Binding}" />
                </DataTemplate>
            </ribbon:Ribbon.HelpPaneContentTemplate>

            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu ToolTipTitle="Application Menu">
                    <ribbon:RibbonApplicationMenuItem Header="Company"
                                              x:Name="MenuItem_Company" >
                        
                    </ribbon:RibbonApplicationMenuItem>

                    <ribbon:RibbonApplicationMenuItem Header="DocStore Settings"
                                              x:Name="MenuItem1"  
                                              Click="MenuItem1_Click"/>
                    <ribbon:RibbonApplicationMenuItem Header="About DocStore"
                                              x:Name="MenuItem2" 
           Click="MenuItem2_Click" />
                    <ribbon:RibbonApplicationMenuItem Header="Exit"
                                              x:Name="MenuExit" 
           Click="Exit" />
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>

        </ribbon:Ribbon>
    </Grid>
</Window>

    